#include <iostream>
#include <Windows.h>

using namespace std;

int main()
{
    int a = 0;

    while (a++ < 30)
    {
        cout << (a == 20 ? 12345 : a) << endl;
        cout << "abc" << endl;

        Sleep(100);
    }

    system("pause");

    return 0;
}